<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}" disabled>
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">我方订单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_num" class="form-control" name=""  type="text" value="{$row.order_num|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品类型:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_type" data-rule="" class="form-control" name="" type="text" value="{$row.goods_type_name|htmlentities}" disabled>
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品来源:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-table_name" data-rule="" class="form-control" name="" type="text" value="{$row.table_name_text|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule=""  class="form-control" name="" type="text" value="{$row.goods_name|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Membership_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-membership_duration" data-rule="required" class="form-control" name="row[membership_duration]" type="number" value="{$row.membership_duration|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">到期时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expiration_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[expiration_time]" type="text" value="{:$row.expiration_time?datetime($row.expiration_time):''}" disabled>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
